package com.ruicar.afs.cloud.seats.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * The type GroupUser
 *
 * @author tiankai
 * @Describe 成员信息表
 * Created on 2020-05-15
 */
@Data
@TableName("seats_group_user")
@ApiModel(value = "成员信息")
public class GroupUser extends BaseEntity<GroupUser> {
    /**
     * 操作组id
     */
    private String groupId;
    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 接口返回ID
     */
    private String procedureId;
    /**
     * 权重
     */
    private int weight;
    /**
     * 抢单权重
     */
    private int grabWeight;
    /**
     * 日权重上限
     */
    private int weightUpper;
    /**
     * 备注
     */
    private String remark;
    /**
     * 登录名
     */
    private String loginName;
}
